package com.uls.zsw.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uls.common.annotation.Excel;
import com.uls.common.core.domain.BaseEntity;

/**
 * 宿舍查寝对象 zsw_dormitory_check
 * 
 * @author zsw
 * @date 2024-11-23
 */
public class DormitoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 查寝编号 */
    private Long dormtoryCheckId;

    /** 宿舍编号 */
    @Excel(name = "宿舍编号")
    private Long dormitoryId;

    /** 查寝日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "查寝日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 缺寝人数 */
    @Excel(name = "缺寝人数")
    private Integer absentNumber;

    /** 宿舍整洁状态 */
    @Excel(name = "宿舍整洁状态")
    private String dormitoryCondition;

    /** 查寝备注 */
    @Excel(name = "查寝备注")
    private String comments;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private Integer deleteFlag;

    private String selecteddn;

    public String getSelecteddn() {
        return selecteddn;
    }

    public void setSelecteddn(String selecteddn) {
        this.selecteddn = selecteddn;
    }

    public void setDormtoryCheckId(Long dormtoryCheckId)
    {
        this.dormtoryCheckId = dormtoryCheckId;
    }

    public Long getDormtoryCheckId() 
    {
        return dormtoryCheckId;
    }
    public void setDormitoryId(Long dormitoryId) 
    {
        this.dormitoryId = dormitoryId;
    }

    public Long getDormitoryId() 
    {
        return dormitoryId;
    }
    public void setCheckDate(Date checkDate) 
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate() 
    {
        return checkDate;
    }
    public void setAbsentNumber(Integer absentNumber) 
    {
        this.absentNumber = absentNumber;
    }

    public Integer getAbsentNumber() 
    {
        return absentNumber;
    }
    public void setDormitoryCondition(String dormitoryCondition) 
    {
        this.dormitoryCondition = dormitoryCondition;
    }

    public String getDormitoryCondition() 
    {
        return dormitoryCondition;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dormtoryCheckId", getDormtoryCheckId())
            .append("dormitoryId", getDormitoryId())
            .append("checkDate", getCheckDate())
            .append("absentNumber", getAbsentNumber())
            .append("dormitoryCondition", getDormitoryCondition())
            .append("comments", getComments())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("deleteFlag", getDeleteFlag())
            .append("selecteddn",getSelecteddn())
            .toString();
    }
}
